package com.dimao.certificate_build_service.http;

import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;

public class ApiBridge implements Handler<RoutingContext> {
    private Api api;

    public ApiBridge(Api api){
        this.api = api;
    }

    @Override
    public void handle(RoutingContext context) {
        api.run(context);
    }
}
